import { Routes, RouterModule }  from '@angular/router';
import { AccountComponent } from "./account.component";
import { AssinRolesComponent } from "./assin-roles/assin-roles.component";
import { AssinProductsComponent } from "./assin-products/assin-products.component";
import { AssinDeviceComponent } from "./assin-device/assin-device.component";

const routes:Routes = [
  { path: '', component: AccountComponent },
  { path: 'assinroles/:accountId', component: AssinRolesComponent },
  { path: 'assinproducts/:accountId', component: AssinProductsComponent },
  { path: 'assindevice/:accountId', component: AssinDeviceComponent }
];

export const AccountRoute = RouterModule.forChild(routes);
